
export const formData = {
    getItemUrl: 'interface/tabbarItem/getItemById/',
    updateUrl: 'interface/tabbarItem/updateAction/',
    createUrl: 'interface/tabbarItem/createAction/',
    formKey: 'tabbarItem',
    updateFieldList: [
        { formType: 'Input', showName: '名称', key: 'name', width: 6 },
        { formType: 'Input', showName: '标识', key: 'key', width: 6 },
        { formType: 'Input', showName: '路径', key: 'path', width: 6 },
        { formType: 'Upload', showName: '激活图标', key: 'activeIcon', width: 6 },
        { formType: 'Upload', showName: '默认图标', key: 'inactiveIcon', width: 6 },
        { formType: 'Color', showName: '激活颜色', key: 'activeColor', width: 6 },
        { formType: 'Color', showName: '默认颜色', key: 'inactiveColor', width: 6 },
        { formType: 'Input', showName: '顺序', key: 'sort', width: 6 },
        { formType: 'Switch', showName: '是否显示', key: 'isShow', width: 6 },
    ],
    detailFieldList: [
        { formType: 'Input', showName: '名称', key: 'name', width: 6 },
        { formType: 'Input', showName: '标识', key: 'key', width: 6 },
        { formType: 'Input', showName: '路径', key: 'path', width: 6 },
        { formType: 'Input', showName: '激活图标', key: 'activeIcon', width: 6 },
        { formType: 'Input', showName: '默认图标', key: 'inactiveIcon', width: 6 },
        { formType: 'Input', showName: '顺序', key: 'sort', width: 6 },
        { formType: 'Switch', showName: '是否显示', key: 'isShow', width: 6 },
    ],
    options: {
        status: [
            {value: '1', label: "正常"},
            {value: '2', label: "异常"}
        ],
        isShow: [
            {value: 1, label: "是"},
            {value: 0, label: "否"}
        ]
    },
    dicts: {
        status: {
            '1': "正常",
            '2': "异常"
        }
    }
}
